
const btn = document.getElementById("btn");

btn.onclick = function () {
    import('./hello.js').then(moudle => {
        //返回的是一个Promise对象
        console.log(moudle);
        moudle.hello();
    })
}